package com.yuanfeng.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.business.dto.UserTokenBeanDTO;
import com.yuanfeng.business.entity.ShopAgreementRuleEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 *
 */
public interface ShopAgreementRuleService extends IService<ShopAgreementRuleEntity> {

    /**
     * 查询协议内容
     *
     * @param map
     * @return
     */
    ResponseResult queryAgreementContent(Map<String, Object> map);



    /**
     * 查询店铺参与的协议列表
     *
     * @param param
     * @return
     */
    ResponseResult queryShopJoinAgreeList(UserTokenBeanDTO param);



    /**
     * 查询最新店铺协议
     *
     * @param
     *
     */
   ResponseResult queryNewAgreement();
}
